import request from '@/utils/request'

// 查询用户是否支付了手续费
export function getUserFree() {
	return request({
		url: '/huiPayManager/getUserFree',
		method: 'post',
	})
}
// 用户支付手续费
export function payFree(url) {
	return request({
		url: '/huiPayManager/payFree?returnUrl='+url,
		method: 'get',
	})
}
// 用户开户
export function accountOpen(url) {
	return request({
		url: '/huiPayManager/accountOpen?retUrl='+url,
		method: 'get',
	})
}
//钱包管理
export function walletUrl(url) {	
	return request({
		url: '/huiPayManager/walletUrl?retUrl='+url,
		method: 'get',
	})
}
